<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>假条注销</title>
<meta name="description" content="这是一个 index 页面">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="assets/i/favicon.png">
<link rel="apple-touch-icon-precomposed"
	href="assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet" href="assets/css/amazeui.min.css" />
<link rel="stylesheet" href="assets/css/admin.css">
<link rel="stylesheet" href="assets/css/app.css">
</head>

<body>


	<!--头部  -->
	<jsp:include page="/common/head.jsp"></jsp:include>
	<!--左边菜单栏  -->
	<jsp:include page="student_menu.jsp"></jsp:include>



	<div class="tpl-portlet-components">

		<div class="portlet-title">
			<div class="caption font-green bold">
				<span class="am-icon-code"></span>假条注销
			</div>
		</div>

		<div class="tpl-block">
			<div class="am-g"></div>
			<div class="am-g">
				<div class="am-u-sm-12">
					<form class="am-form" action="ApplyServlet?method=Leave_Cancle"
						method="post">
						<c:choose>
							<c:when test="${empty sessionScope.apply_cancle }">
								<table
									class="am-table am-table-striped am-table-hover table-main">
									<tr>
										<th class="table-id">暂无销假消息</th>
									</tr>
								</table>
							</c:when>
							<c:otherwise>
								<table
									class="am-table am-table-striped am-table-hover table-main">
									<thead>
										<tr>
											<th class="table-check"><input type="checkbox"
												class="tpl-table-fz-check"></th>
											<th class="table-id">ID</th>
											<th class="table-title">学号</th>
											<th class="table-type">姓名</th>
											<th class="table-author am-hide-sm-only">级别</th>
											<th class="table-author am-hide-sm-only">班级</th>
											<th class="table-author am-hide-sm-only">联系方式</th>
											<th class="table-date am-hide-sm-only">最近请假日期</th>
											<th class="table-set">操作</th>
										</tr>
									</thead>
									<c:forEach items="${sessionScope.apply_cancle}"
										var="apply_cancle_list">
										<tbody>
											<tr>
												<td><input type="checkbox"></td>
												<td class="am-hide-sm-only"><input type="text" style="border:none" name="aid" id="aid" readonly="readonly"
													value="${apply_cancle_list.aid }"></td>
												<td class="am-hide-sm-only">${apply_cancle_list.l_s_card }</td>
												<td class="am-hide-sm-only">${apply_cancle_list.s_username }</td>
												<td class="am-hide-sm-only">${apply_cancle_list.g_name }</td>
												<td class="am-hide-sm-only">${apply_cancle_list.c_name }</td>
												<td class="am-hide-sm-only">${apply_cancle_list.s_phone }</td>
												<td class="am-hide-sm-only">${apply_cancle_list.l_begintime }</td>
												<td>
													<div class="am-btn-toolbar">
														<div class="am-btn-group am-btn-group-xs">
															<button type="submit"
																class="am-btn am-btn-default am-btn-xs am-text-secondary">
																<span class="am-icon-pencil-square-o"></span> 销假
															</button>
														</div>

													</div>
												</td>
											</tr>
										</tbody>
									</c:forEach>
								</table>
							</c:otherwise>
						</c:choose>
						<hr>

					</form>
				</div>

			</div>
		</div>
		<div class="tpl-alert"></div>
	</div>


</body>

</html>